Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call tootctl self-destruct when the app is remove with purge #359

Closed
wants to merge 6 commits into from

Conversation

yalh76
Copy link
Member

@yalh76 yalh76 commented Jan 17, 2023

Problem

Solution

  • Add the selfdestruct when purge is used

PR Status

  • Code finished and ready to be reviewed/tested
  • The fix/enhancement were manually tested (if applicable)

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

@yalh76 yalh76 requested review from Tagadda and lapineige January 17, 2023 18:54
@yalh76 yalh76 changed the base branch from master to testing January 18, 2023 19:33
@yalh76
Copy link
Member Author

yalh76 commented Jan 25, 2023

!testme

@yunohost-bot
Copy link
Contributor

🚀
Test Badge

@yalh76
Copy link
Member Author

yalh76 commented Feb 8, 2023

!testme

@yunohost-bot
Copy link
Contributor

🎠
Test Badge

@yunohost-bot
Copy link
Contributor

✌️
Test Badge

@yalh76
Copy link
Member Author

yalh76 commented Feb 19, 2023

!testme

@yunohost-bot
Copy link
Contributor

🎠
Test Badge

@yalh76
Copy link
Member Author

yalh76 commented Feb 28, 2023

!testme

@yunohost-bot
Copy link
Contributor

🌻
Test Badge

@lapineige
Copy link
Member

Timed out but all went fine until backup and restore. Which means remove works.
Restarting.

@yalh76
Copy link
Member Author

yalh76 commented Apr 19, 2023

!testme

@yunohost-bot
Copy link
Contributor

Fingers crossed!
Test Badge

@lapineige
Copy link
Member

I'm not able to judge that PR, sorry, it looks good but I have no idea.

@yalh76
Copy link
Member Author

yalh76 commented Apr 20, 2023

!testme

@yunohost-bot
Copy link
Contributor

May the CI gods be with you!
Test Badge

@lapineige
Copy link
Member

Let's merge ?

@Tagadda
Copy link
Member

Tagadda commented May 7, 2023

This feature needs documentation somewhere I guess... in the ADMIN.md ?

@lapineige
Copy link
Member

Yes clearly.

@Tagadda Tagadda changed the title Update remove Call tootctl self-destruct when the app is remove with purge Sep 25, 2023
@Tagadda
Copy link
Member

Tagadda commented Sep 25, 2023

We can't run self-destruct and remove everything right away.

A running Sidekiq process is required, so do not shut down the server until the queues are fully cleared.

https://docs.joinmastodon.org/admin/tootctl/#self-destruct

@Tagadda Tagadda closed this Sep 25, 2023
@Tagadda Tagadda deleted the self-destruct branch September 25, 2023 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adverstive the tootctl self-destruct command
4 participants